home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
turbovis
/
tvtool17.zip
/
TVBUGS.CPP
< prev
next >
Wrap
Text File
|
1993-09-30
|
38KB
|
1,201 lines
-------------------------- TVBUGS.CPP --------------------------
Borland Turbo Vision (C++) Bug/Enhancement List
Last Updated: 10 september 93
Maintained by: Marc Stern
Internet: stern@mble.philips.be
compuserve: >INTERNET:stern@mble.philips.be
*** This list is C++ TurboVision (TV) specific.
For a Pascal specific buglist, see the file \turbo-vision\pascal\tvbugs.pas
maintained by Brad Williams (bwilliams@marvin.ag.uidaho.edu) on the TurbVis
ftp site vtucs.cc.vt.edu. All bugs and fixes presented have been discussed
on the listserv TurbVis and Compuserve. If you want to join the mailing
list, send a message to listserv@vtvm1.cc.vt.edu containing the line SIGNON
TURBOVIS.
These fixes are meant to be applied to Turbo Vision 1.03, the version that
was shipped with Borland C++ 3.1 and Application Frameworks. You must have
the source code to Turbo Vision in order to implement these fixes.
This list contains bug fixes and enhancements to the TV sources. These
enhancements are obviously subjective and rely most of the time on personal
feelings of the posters about the look and feel of their applications.
*** This is an unofficial list and is not a substitute for
*** Borland Technical or Customer Support which can be reached at
*** 800-331-0877 for registered Borland product owners. Borland
*** customer on-line service can be reached at
***
*** customer-support@borland.com (internet)
***
*** Online technical support is not available. Borland's internet
*** address for reporting bugs is
***
*** bugs@borland.com (internet)
All submissions determined to be "true" bugs will be forwarded to Borland.
The maintainer of this list, the authors of bug fixes, the TurbVis listserv
and the ftp site are not responsible for the reliability of any information
presented in this document or consequences that may result from their use.
*** Always make a backup of the source code file under a new name
*** prior making any changes to the original file.
Send all comments about bugs you have discovered and any patches to the
maintainer of this list or to the TurbVis listserv for discussion. Please
include a description of the problem you are having, a small section of
source code which will duplicate the problem when compiled/run, and all
suggestions for improvement of current patches are appreciated.
How to Use This List
--------------------
At the beginning of this list is an index of new problems/questions or
changes to old problems/enhancements/questions in reverse chronological
order. This facilitates quick review for changes from previous additions.
Following is the list of problems/enhancements/questions about bugs in TV.
They are discussed and source code patches referenced where available. All
source code patches in this file are placed at the end in alphabetic order
according to the reference name. Reference name is usually a function name
or a object::function name, but it can be a general topic name such as Help,
System Error Messages,...
Example: Help
MessageBox
System Error Messages
TInputLine::handleEvent
TParamText::setData
TWindow::handleEvent
If extensive files are required, the individual file will be referenced
under the appropriate problem/question.
There are two possible methods for searching this document, by topic under
the PROBLEMS / ENHANCEMENTS / QUESTIONS section or by function (or
object::method) name under the PATCHES section. All PROBLEMS / ENHANCEMENTS
/ QUESTIONS and PATCHES are cross-referenced. If you do not find the
topic/patch in one list, check the other. If you still cannot find a
solution look at the FAQ (TVCPP.FAQ) posted at this site. If you still
cannot determine a solution to your problem, post a message to the listserv
TurbVis.
---------------------------------------------------------------
CHRONOLOGICAL INDEX OF CHANGES TO THIS DOCUMENT
---------------------------------------------------------------
24 september 93
MessageBox - 5
TParamText - 3
7 september 93
Help - 5
Streams - 2
TButton - 1
27 july 1993
Help - 3, 4
Streams - 1
System Error Messages - 1 (Correction)
TCollection - 1
TDialog - 1 (Correction)
TFileDialog - 2
15 july 1993
TGroup - 2
TParamText - 2
performance - 1
overlay - 1
18 june 1993
TDialog - 1
TParamText - 2
10 june 1993
MessageBox - 4
TChDirDialog - 1
TMenuView - 2
TStaticText - 1
28 may 1993
Help - 2 (Correction)
TGroup - 1
TMenuView - 1
TView - 1 (Correction)
min/max - 1
25 may 1993
Selection - 2
TDirCollection - 1
TFileDialog - 1
TListViewer - 1, 2
TResourceFile - 1
TView - 1
TWindow - 2
5 may 93 - First edition of this list
Help - 1, 2
MessageBox - 1, 2, 3
TEditor - 1
TGroup - 1
TInputLine - 1
TParamText - 1
TWindow - 1
---------------------------------------------------------------
PROBLEMS / ENHANCEMENTS / QUESTIONS
---------------------------------------------------------------
Help
----
1. Problem - Compilation error when using streams with help.
Patch: see Help-1
2. Problem - Highlighted items no more displayed in highlight when scrolling
in a help window longer than one screen.
Patch: see Help-2
3. Problem - Shrinking the help window horizontally causes text at the end
of the help message to become unreachable (assuming the help
text has more lines than the number of window lines). The
problem is virtual function changeBounds never gets called
because its declaration doesn't match the base class
declaration.
Patch: see Help-3
4. Problem - Word wrap is erratic for characters above 0x7f (such as
non-English letters). This is due to sign extension when the
compiler converts from a signed char to an int. For example,
0x81 gets converted to 0x8001, causing isspace to index into
garbage.
Patch: see Help-4
5. Problem - The THelpWindow class should function both as a modal and a
modeless window. However, it crashes if inserted as a modeless
window.
Patch: see Help-5
MessageBox
----------
1. Problem - Strange effects, memory garbage
Patch: see MessageBox-1
2. Enhancement - Automatically adapt box size to message length
Patch: see MessageBox-2
3. Enhancement - Automatically center 'OK/Cancel' buttons
Patch: see MessageBox-3
4. See TStaticText - 1
5. Problem - If a messageBox is opened while a submenu is open (because it
is opened by an external event or in the idle() function), the
messageBox will be under the submenu.
Patch: see MessageBox-5
min/max
-------
1. Problem - error when using min/max with different type variables than int
(like ushort).
Patch: see min/max-1
Overlay
-------
1. Problem - Turbo Vision cannot be overlayed.
Patch: see compilation
Performance
-----------
1. Problem - Turbo Vision is very slow, much slower that the previous
version because snow checking was inadvertently turned on by
default and because the new operator that is in TV.LIB has
debugging code compiled in with it.
Patch: see performance-1, compilation
Selection
---------
1. Problem (feature?) - When a control is unselectable, it can be selected
by selection its associated label.
Patch: see Selection-1
Streams
-------
1. Problem - If you use either (or both) TCheckBoxes or TRadioButtons with
streams your program will